// Class
#include <iostream>
#include "ex008.hpp"

constexpr int READ_TIMES = 3;

double read_and_sum(int s) {
    Vector v(s);
    for (int i = 0; i != v.size(); i++) std::cin >> v[i];

    double sum = 0;
    for (int i = 0; i != v.size(); i++) sum += v[i];
    return sum;
}

int main() {
    auto s = read_and_sum(READ_TIMES);
    std::cout << s << std::endl;
    return 0;
}
